﻿using System.Collections.Generic;
using PaceR.Core.Interfaces.Conditionals;

namespace PaceR.Core.Interfaces.Validation
{
    public interface IValidatableEntity<T>
    {
        IEnumerable<IConditionRule> Rules { get; }
        T Entity { get; }

        IResult<T> RunValidation();
    }
}
